import request from '@/utils/request'

// 查询拓客认领记录列表
export function listCustomer_claim(query) {
  return request({
    url: '/customer/customer_claim/list',
    method: 'get',
    params: query
  })
}

// 查询拓客认领记录详细
export function getCustomer_claim(id) {
  return request({
    url: '/customer/customer_claim/' + id,
    method: 'get'
  })
}

// 新增拓客认领记录
export function addCustomer_claim(data) {
  return request({
    url: '/customer/customer_claim',
    method: 'post',
    data: data
  })
}

// 修改拓客认领记录
export function updateCustomer_claim(data) {
  return request({
    url: '/customer/customer_claim',
    method: 'put',
    data: data
  })
}

// 删除拓客认领记录
export function delCustomer_claim(id) {
  return request({
    url: '/customer/customer_claim/' + id,
    method: 'delete'
  })
}
